cc.Class({
    extends: cc.Component,
    properties: {},
    onLoad: function () {
    },
    start: function () {
        if (this.node && cc.isValid(this.node) && this.node.active) {
            var e = "";
            SceneHelper && SceneHelper.getCurSceneName() && (e = SceneHelper.getCurSceneName()),
                authManager.createAuthUserInfoButton(this.node.name, e, this.node, function (e) {
                    cc.error("************** auth success ************", e), authManager.relogin();
                });
        }
    }
})
